export default (Vue)=>{
    Vue.directive('deletePermission', {
        bind: function (el, binding) {
            /*if (!Vue.prototype.$_has(binding.value)) {
                // el.parentNode.removeChild(el);
                el.style.display = 'none';
            }*/
            console.log("poit");
           /* console.log(el);
            console.log(binding);*/
            if (binding.value.isAdministrator==="0") {
                console.log(el.style.display);

                el.style.display = 'none';
            }
        }
    });
}